wayland: Place subsurfaces relative to their parent
authorOlivier Fourdan <ofourdan@redhat.com>
Wed, 23 Nov 2016 13:55:40 +0000 (14:55 +0100)
committerOlivier Fourdan <ofourdan@redhat.com>
Thu, 24 Nov 2016 08:32:41 +0000 (09:32 +0100)
commit39200e75b6364f50acebf032d4aa1455a2bf0628
treed099957924b0e69c028c2e5776f6e5b07fac0081
parentae29d4db5ae64edb94b85a23a236521332a2efd9
wayland: Place subsurfaces relative to their parent

Now that subsurfaces can be created as child of another GdkWindow (and
not just the root window), they must be placed according to the location
of their parent, i.e. the abs_x/abs_y must be updated and taken int
account when placing and moving subsurfaces under Wayland.

https://bugzilla.gnome.org/show_bug.cgi?id=774917
gdk/gdkwindow.c
gdk/wayland/gdkwindow-wayland.c